#
# pH+ 2008
#
# Login Class
#

require 'ph/ui/edit'
require 'ph/ui/button'
require 'ph/ui/form'

module Ph

  
  class Login < Ph::Form

    def initialize
    
      super()
    
      @body.add( {
        :error =>    Ph::Container.new,
        :username => Ph::Edit.new('Username'),
        :password => Ph::Edit.new('Password'),
        :submit =>   Ph::Button.new('Log In')
      } )

			self.class_name = 'phform'
    end
    
  
  end
  
  
end
